{extend name='admin@public/content'}

{block name="content"}
<!-- 表单搜索 开始 -->
<script>
    window.laydate.render({range: true, elem: '#range-date'});
</script>
<!-- 表单搜索 结束 -->

<form onsubmit="return false;" data-auto="true" method="post">
    <!--{empty name='list'}-->
    <p class="help-block text-center well">没 有 记 录 哦！</p>
    <!--{else}-->
    <input type="hidden" value="resort" name="action">
    <table class="layui-table" lay-skin="line">
        <thead>
        <tr>
            <th class='text-left nowrap'>会员等级名称</th>
            <th class='text-left nowrap'>最小充值金额</th>
            <th class='text-left nowrap'>最大充值额度</th>
            <th class='text-left nowrap'>最大提现额度</th>
            <th class='text-left nowrap'>最大消费额度</th>
            <th class='text-left nowrap'>会员类型介绍</th>
            <th class='text-left nowrap'></th>
            <th class='text-left nowrap'>时间</th>
            <th class='text-left nowrap'>操作</th>
        </tr>
        </thead>
        <tbody>
        {foreach $list['list'] as $key=>$vo}
        <tr>
            <td class='text-left nowrap'>
                {$vo.name|default="<span class='color-desc'>暂无</span>"|raw}
            </td>
            <td class='text-left nowrap'>
                {$vo.money}
            </td>
            <td class='text-left nowrap'>
                {$vo.new_recharge}
            </td>
            <td class='text-left nowrap'>
                {$vo.new_putmoney}
            </td>
            <td class='text-left nowrap'>
                {$vo.max_pay}
            </td>
            <td class='text-left nowrap'>
                {$vo.des}
                <br/>
                {$vo.desc|default=''}
            </td>
            <td>
            </td>
            <td class='text-owrap'>
                {$vo.updated_at|default='暂无'}
            </td>

            <td class='text-center nowrap'>
                <span class="text-explode">|</span>
                <a class="layui-btn layui-btn-xs layui-btn-normal" data-open='{:url("$classuri/edit")}?id={$vo.id}'>编辑</a>
            </td>
        </tr>
        {/foreach}
        </tbody>
    </table>
    {if isset($list.page)}<p>{$list.page|raw}</p>{/if}
    <!--{/empty}-->
</form>
{/block}
{block name="script"}
<!--表单初始化-->
<script>
    window.laydate.render({range: true, elem: '#create_at'});
    window.form.render();
</script>

<!--引入标签设置-->
{/block}